﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200031B RID: 795
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ClockParkQuitScriptScRsp : IMessage<ClockParkQuitScriptScRsp>, IMessage, IEquatable<ClockParkQuitScriptScRsp>, IDeepCloneable<ClockParkQuitScriptScRsp>, IBufferMessage
	{
		// Token: 0x17000A4B RID: 2635
		// (get) Token: 0x06002390 RID: 9104 RVA: 0x00064A7C File Offset: 0x00062C7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ClockParkQuitScriptScRsp> Parser
		{
			get
			{
				return ClockParkQuitScriptScRsp._parser;
			}
		}

		// Token: 0x17000A4C RID: 2636
		// (get) Token: 0x06002391 RID: 9105 RVA: 0x00064A83 File Offset: 0x00062C83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ClockParkQuitScriptScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000A4D RID: 2637
		// (get) Token: 0x06002392 RID: 9106 RVA: 0x00064A95 File Offset: 0x00062C95
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ClockParkQuitScriptScRsp.Descriptor;
			}
		}

		// Token: 0x06002393 RID: 9107 RVA: 0x00064A9C File Offset: 0x00062C9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkQuitScriptScRsp()
		{
		}

		// Token: 0x06002394 RID: 9108 RVA: 0x00064AA4 File Offset: 0x00062CA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkQuitScriptScRsp(ClockParkQuitScriptScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002395 RID: 9109 RVA: 0x00064AC9 File Offset: 0x00062CC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkQuitScriptScRsp Clone()
		{
			return new ClockParkQuitScriptScRsp(this);
		}

		// Token: 0x17000A4E RID: 2638
		// (get) Token: 0x06002396 RID: 9110 RVA: 0x00064AD1 File Offset: 0x00062CD1
		// (set) Token: 0x06002397 RID: 9111 RVA: 0x00064AD9 File Offset: 0x00062CD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06002398 RID: 9112 RVA: 0x00064AE2 File Offset: 0x00062CE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ClockParkQuitScriptScRsp);
		}

		// Token: 0x06002399 RID: 9113 RVA: 0x00064AF0 File Offset: 0x00062CF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ClockParkQuitScriptScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600239A RID: 9114 RVA: 0x00064B20 File Offset: 0x00062D20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600239B RID: 9115 RVA: 0x00064B5F File Offset: 0x00062D5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600239C RID: 9116 RVA: 0x00064B67 File Offset: 0x00062D67
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600239D RID: 9117 RVA: 0x00064B70 File Offset: 0x00062D70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600239E RID: 9118 RVA: 0x00064BA4 File Offset: 0x00062DA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600239F RID: 9119 RVA: 0x00064BE2 File Offset: 0x00062DE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ClockParkQuitScriptScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060023A0 RID: 9120 RVA: 0x00064C13 File Offset: 0x00062E13
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060023A1 RID: 9121 RVA: 0x00064C1C File Offset: 0x00062E1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 120U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000E7F RID: 3711
		private static readonly MessageParser<ClockParkQuitScriptScRsp> _parser = new MessageParser<ClockParkQuitScriptScRsp>(() => new ClockParkQuitScriptScRsp());

		// Token: 0x04000E80 RID: 3712
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000E81 RID: 3713
		public const int RetcodeFieldNumber = 15;

		// Token: 0x04000E82 RID: 3714
		private uint retcode_;
	}
}
